package com.cq.hd.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: mYunYu
 * @date: 2021/8/19 10:29
 * @version: v1.0
 */
@Data
public class Sms {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime expiredTime;

    @ApiModelProperty(value = "生成时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "尝试次数")
    private Integer retry;

}
